package com.electron.power.model.mod;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@ApiModel("数据体")
@NoArgsConstructor
public class ModBody {
	public static final Integer DEVICE_ID_LENTH = 5;

	@ApiModelProperty(value="设备编号,长度5",example="112394521950")
	private long deviceId;

	@ApiModelProperty(value="设备标识,长度1",example="112")
	private int deviceNo;
	
	@ApiModelProperty(value = "A相数据")
	private ModData modDataOfA;
	
	@ApiModelProperty(value = "B相数据")
	private ModData modDataOfB;
	
	@ApiModelProperty(value = "C相数据")
	private ModData modDataOfC;

	@ApiModelProperty(value="crc校验位,长度2字节",example="12093")
	private int crc;
	
}
